﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ucChipInsUp.ascx.cs" Inherits="Admin_ucControl_ucChipInsUp" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit.HTMLEditor"
    TagPrefix="cc1" %>
<style type="text/css">
    .style1
    {
        width: 100%;
    }
</style>
<table class="style1">
    <tr>
        <td>
            Chip Name:
        </td>
        <td>
            <asp:TextBox ID="txtChipName" runat="server" Width="200px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td>
            ID Type:
        </td>
        <td>
            <asp:DropDownList ID="drIDType" runat="server">
            </asp:DropDownList>
        </td>
    </tr>
    <tr>
        <td style="width: 150px">
            Chip Description :
        </td>
        <td>
            <cc1:Editor ID="description" runat="server" NoUnicode="true" />
        </td>
    </tr>
    <tr>
        <td>
            Price :
        </td>
        <td>
            <asp:TextBox ID="txtPrice" runat="server"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td>
        </td>
        <td>
            <asp:Button ID="btnSave" runat="server" Text="Save" OnClick="btnSave_Click" />
        </td>
    </tr>
    <%--<tr>
        <td>
            Update Image Chip</td>
        <td>
        </td>
    </tr>--%>
    <%--<tr>
        <td colspan="2">
            <asp:GridView ID="grdImg" runat="server" AutoGenerateColumns="False" EmptyDataText="No images found"
                Width="500px">
                <Columns>
                    <asp:ImageField DataImageUrlField="ImageURL" DataImageUrlFormatString="~/Admin/img/ImageMenu/{0}"
                        HeaderText="Image">
                        <ControlStyle Height="80px" />
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:ImageField>
                    <asp:TemplateField HeaderText="Default">
                        <ItemTemplate>
                            <asp:CheckBox ID="chkDefault" runat="server" Enabled="false" />
                            &nbsp;
                            <asp:ImageButton ID="btnDefault" runat="server" ImageUrl="~/Admin/img/btnDefault.jpg" />
                        </ItemTemplate>
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Delete">
                        <ItemTemplate>
                            <asp:ImageButton ID="btnDelImg" runat="server" CausesValidation="false" CommandArgument='<%# Eval("ID") %>'
                                CommandName="delete" ImageUrl="~/Admin/img/del.gif" />
                        </ItemTemplate>
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:TemplateField>
                </Columns>
                <PagerStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue" HorizontalAlign="Center" />
                <EmptyDataTemplate>
                    No images found
                </EmptyDataTemplate>
                <SelectedRowStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" />
                <HeaderStyle BackColor="Tan" Font-Bold="True" Height="30px" />
                <AlternatingRowStyle BackColor="PaleGoldenrod" />
            </asp:GridView>
        </td>
    </tr>--%>
    <%--<tr>
        <td style="text-align: center">
            <b>Add New Image
        </td>
        <td>
            <asp:FileUpload ID="fileUpload1" runat="server" Width="230px" />
            <asp:Button ID="Button1" runat="server" Text="Upload"  />
        </td>
        <td>
            &nbsp;
        </td>
    </tr>--%>
    <%--<tr>
        <td style="text-align: center">
            <asp:Label ID="lblImage" runat="server" Text="Image" Style="font-weight: 700"></asp:Label>
        </td>
        <td>
            <asp:Label ID="Label1" runat="server" Enabled="False" Text="  JPEG, GIF 5MB max per image"></asp:Label>
            <br />
            <asp:Label ID="lblMessage" runat="server" ForeColor="Red"></asp:Label>
        </td>
        <td>
            &nbsp;
        </td>
    </tr>--%>
</table>
<p>
    &nbsp;</p>
